package com.wu.flandre.entity.table;

import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.extension.activerecord.Model;
import com.baomidou.mybatisplus.annotation.TableId;
import java.time.LocalDateTime;
import com.baomidou.mybatisplus.annotation.TableField;
import java.io.Serializable;

/**
 * <p>
 * 
 * </p>
 *
 * @author wu
 * @since 2019-12-14
 */
@TableName("SystemLog")
public class SystemLog extends Model<SystemLog> {

    private static final long serialVersionUID=1L;

    /**
     * log主键
     */
    @TableId("LogId")
    private String LogId;

    /**
     * log等级
     */
    @TableField("Logleave")
    private String Logleave;

    /**
     * log记录时间
     */
    @TableField("LogTime")
    private LocalDateTime LogTime;

    /**
     * log内容
     */
    @TableField("Message")
    private String Message;

    /**
     * log记录的class名
     */
    @TableField("LogClass")
    private String LogClass;


    public String getLogId() {
        return LogId;
    }

    public void setLogId(String LogId) {
        this.LogId = LogId;
    }

    public String getLogleave() {
        return Logleave;
    }

    public void setLogleave(String Logleave) {
        this.Logleave = Logleave;
    }

    public LocalDateTime getLogTime() {
        return LogTime;
    }

    public void setLogTime(LocalDateTime LogTime) {
        this.LogTime = LogTime;
    }

    public String getMessage() {
        return Message;
    }

    public void setMessage(String Message) {
        this.Message = Message;
    }

    public String getLogClass() {
        return LogClass;
    }

    public void setLogClass(String LogClass) {
        this.LogClass = LogClass;
    }

    @Override
    protected Serializable pkVal() {
        return this.LogId;
    }

    @Override
    public String toString() {
        return "SystemLog{" +
        "LogId=" + LogId +
        ", Logleave=" + Logleave +
        ", LogTime=" + LogTime +
        ", Message=" + Message +
        ", LogClass=" + LogClass +
        "}";
    }
}
